package com.ai.wxy.spring.jpa.user.query;

import com.ai.spring.common.annotation.Query;
import com.ai.spring.common.query.IQueryCriteria;
import lombok.Data;

import java.util.List;

/**
 * 用户角色菜单权限查询
 *
 * @author 石头
 * @Date 2019/11/20
 * @Version 1.0
 **/
@Data
public class UserRolePermQuery implements IQueryCriteria {
    @Query(type=Query.Type.IN,propName="roleId")
    private List<Long> roleIds;
    /**分组字段*/
    private String groupBy;
    @Override
    public String groupBy() {
        return groupBy;
    }
}
